<!DOCTYPE html>
<html class="um landscape min-width-240px min-width-320px min-width-480px min-width-768px min-width-1024px">
<head>
    <title></title>
    <meta charset="utf-8">
    <meta name="viewport" content="target-densitydpi=device-dpi, width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">    <link rel="stylesheet" href="jgp/css/project/ui-color-v3.css">
    <link rel="stylesheet" href="jgp/css/project/ui-list-v3.css">
    <link rel="stylesheet" href="jgp/css/project/ui-input-v3.css">
    <link rel="stylesheet" href="jgp/css/project/ui-btn-v3.css">
    <link rel="stylesheet" href="jgp/css/project/ui-res-v3.css">
    <link rel="stylesheet" href="jgp/css/ui-color.css">
    <link rel="stylesheet" href="jgp/css/ui-res.css">
    <link rel="stylesheet" href="jgp/css/ui-input.css">
    <link rel="stylesheet" href="jgp/css/ui-base.css">
    <link rel="stylesheet" href="jgp/css/ui-box.css">
    <link rel="stylesheet" href="jgp/css/project/style.css">
	<link rel="stylesheet" href="jgp/css/my.css">
	
	<script src="jgp/js/zy_control.js"></script>
	<script src="jgp/js/md5.js"></script>
	<script src="jgp/js/common.js"></script>
	<script src="jgp/js/zy_click.js"></script>
	<script src="js/talkingdata.js"></script>
</head>
<body class="um-vp c-wh" onclick>
    <div id="page_0" class="up ub ub-ver" tabindex="0">
        <!--header开始-->
       <div id="header" class="uh c-m1 t-wh ub ub-ac">
        	<div id="" class="uh c-bla0 t-wh ub">
            	<div class="umw4 ub  ub-ac ub-pc" id="back" onclick="zy_touch('btn-act')">
            		<!--按钮开始-->
					<div class="btn  uc-a resback umh1-7 umw1-7 ub-img8" ></div>
					<!--按钮结束-->
            	</div>
                    <h1 class="ut ub-f1 uinn ulev0 ut-s tx-c" tabindex="0">
	                    <div>配备详单</div>
					</h1>
				<div class="umw4 ub ub-ac ub-pc" onclick="zy_touch('btn-act')" >
					<!--按钮开始-->
					<div class="btn uinn2 uc-a " onclick="uescript1('updateDate1()')"><font style="font-weight:800">提交</font></div>
					<!--按钮结束-->
				</div>
            </div>
        </div>
		
		<div class="ub ub-ver t-bla c-blu5" id="div2">
				 
					<div class="ub  t-bla">
					    <div class=" uinn ub-f1 uc-l1">
					    	<div class="ub-f1  uc-r1 ub ub-ac ub-pc t-wh tx-l">
						    <div class="ub  c-gra ulev-1  uc-a4 t-bla">
						    <div  class="ub-f1 uinn ulev0 uc-l1">航班号:</div>
						    <div  class="ub-f1 uinn ulev0 uc-r1"  id="hbh"></div>
						    </div>
						    </div>
					    </div>
					   <div class=" uinn ub-f1 uc-l1">
					    	<div class="ub-f1  uc-r1 ub ub-ac ub-pc t-wh tx-l">
						    <div class="ub  c-gra ulev-1  uc-a4 t-bla">
						    <div  class="uinn ulev0 uc-l1">单号:</div>
						    <div  class="uinn ulev0 uc-r1"  id="pbdh"></div>
						    </div>
						    </div>
					    </div>
					</div>
					<!--块容器结束-->
        </div>
		<div class=" c-blu5 " id="div4">
		    <ul  class="uc-t ub t-bla ub-ac umar-l">
		    	<li class="btn  umh1-7 uinn3  umw1-7 ub-img5" ></li>
				<li class="btn umar-l  res27 umh1-7 uinn  umw1-7 ub-img5" onclick="getCode()"></li>
				<li class="btn  umh1-7 uinn ub-img5" ></li>
				<li class="ub-f1  ut-s umar-l t-wh " onclick="getRecycle()" ><font style="font-weight:800">回收</font></li>
		        <li class="ub-f1  ut-s umar-l t-bla " id=""></li>
				<li class="t-bla  " id="">应配</li>
				<li class="t-bla  umar-r " id=""></li>
				<li class="btn   umh1-7 uinn3 umw1-1 ub-img" ></li>  
		        <li class="tx-c t-bla umar-l umw33 ">
		        <div class=" uinput uinn4  ub ub-ac ub-pc"  >
		        <input type="text" class="uc-a1 tx-c " readonly  value="实配"></div></li>
		        <li class="btn  umh1-7 uinn3 umw33 umw1-7 ub-img" ></li>
			</ul>
		</div>
        <!--header结束--><!--content开始-->
        <div id="content" class="ub-f1 tx-l res21 ub-img1">
        </div>
        <!--content结束-->
    </div>
</body>
<script>
zy_init();
window.uexOnload = function(type){
    if (!type) {
		$$("hbh").innerHTML=getStorage("HBH");
		$$("pbdh").innerHTML=getStorage("pbdh");
        zy_con("content", "jgp_FlightJGPPeiDan_content.html", 0,$$("header").offsetHeight+$$("div2").offsetHeight+$$("div4").offsetHeight);
		IC.talkingDataCount("机供品","0005");
    
	}
	
	//触发Android返回键 注销并退出到登录界面
	  uexWindow.onKeyPressed = function(keyCode){
	  	IC.talkingDataCount("机供品","0005");
			                if(keyCode == 0)
							uexWindow.evaluatePopoverScript("FlightJGP","content","setConter()");
							 uexWindow.close(-1);
			                        //要执行的代码
			        }
			        uexWindow.setReportKey(0,1);
   }  
   var c=new zyClick("back",function(me){
			uexWindow.evaluatePopoverScript("FlightJGP","content","setConter()");
            uexWindow.close(-1);
			},"btn-act");
	
		function uescript1(src){
		uexWindow.evaluatePopoverScript("","content",src);
    }
	
	function getRecycle(){
		         IC.talkingDataCount("机供品","0005");
				 uexWindow.open("recycleList", 0, "jgp_recycleList.html", 2, "", "", 0);
			}
		function getCode(){
			IC.talkingDataCount("机供品","0005");
				var usrname = getStorage("userName");
				var usrid = getStorage("userId");
				var pcode = getStorage("F_PBDBH");
				var cmp='';
				var cabin='';
				var salt='';
				var time = Math.floor(new Date()/1000/60/15);
				var mac= hex_md5(usrname+pcode+time+salt);
				var json ={"usrname":usrname,"usrid":usrid,"pcode":pcode,"cmp":cmp,"cabin":cabin,"mac":mac};
				var content = base64.encode(JSON.stringify(json));
				var title ="配备单交接";
				var arry = [title,content];
				 if(uexWidgetOne.platformName == 'android'){
					uexQRCode.qrcode_generate(title,content);
				 }else{
				    uexQRCode.qrcode_generate(arry);
				 }
			}
</script>
</html>
